﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;
using System.Threading.Tasks;
using WoChu.Autorun.Base.Model;

namespace Model
{
    //[DataContract]
    //[MB.Orm.Mapping.Att.ModelMap("WMStoWCStask", "WMStoWCStask", new string[] { "DETAILNO" })]
    //[KnownType(typeof(WMStoWCStask))]
    public class WMStoWCStask
    {
    
       
        public int DETAILNO
        {
            get;
            set;
        }
        //订单号
        private string _ORDERNO;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("ORDERNO", System.Data.DbType.String)]
        public string ORDERNO
        {
            get { return _ORDERNO; }
            set { _ORDERNO = value; }
        }
        //周转箱编号,WMS下发为NULL
        private string _BOXNO;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("BOXNO", System.Data.DbType.String)]
        public string BOXNO
        {
            get { return _BOXNO; }
            set { _BOXNO = value; }
        }
        //拣货异常类型编码
        private int _EXCEPTYPE;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("EXCEPTYPE", System.Data.DbType.Int32)]
        public int EXCEPTYPE
        {
            get { return _EXCEPTYPE; }
            set { _EXCEPTYPE = value; }
        }
        //异常描述
        private string _EXCEPDESC;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("EXCEPDESC", System.Data.DbType.String)]
        public string EXCEPDESC
        {
            set { _EXCEPDESC = value; }
            get { return _EXCEPDESC; }
        }
        //操作人员ID
        private int _USERID;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("USERID", System.Data.DbType.Int32)]
        public int USERID
        {
            get { return _USERID; }
            set { _USERID = value; }
        }
        //用户姓名
        private string _USERNAME;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("USERNAME", System.Data.DbType.String)]
        public string USERNAME
        {
            get { return _USERNAME; }
            set { _USERNAME = value; }
        }
        //复核位置
        private string _RECHECKLOCATION;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("RECHEC_KLOCATION", System.Data.DbType.String)]
        public string CHECK_LOCATION
        {
            get { return _RECHECKLOCATION; }
            set { _RECHECKLOCATION = value; }
        }
        //泡沫箱（多个）
        private List<String> _FBOXS;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("FBOXS", System.Data.DbType.String)]
        public List<String> FBOXS
        {
            get { return _FBOXS; }
            set { _FBOXS = value; }
        }


        private List<WCS_TO_WMS> _WCS_TO_WMSs;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("WCS_TO_WMS", System.Data.DbType.String)]
        public List<WCS_TO_WMS> WCS_TO_WMSs
        {
            get
            {
                return _WCS_TO_WMSs;
            }

            set
            {
                _WCS_TO_WMSs = value;
            }
        }


    }
}
